export class ProxyV2 {
  private mm: SchoolGirl;

  constructor(mm: SchoolGirl) {
    this.mm = mm;
  }

  public GiveDolls(): string {
    return `${this.mm.Name} 送你洋娃娃`;
  }
  public GiveFlowers(): string {
    return `${this.mm.Name} 送你鲜花`;
  }
  public GiveChocolate(): string {
    return `${this.mm.Name} 送你巧克力`;
  }
}

export class SchoolGirl {
  private name = "";

  get Name(): string {
    return this.name;
  }

  set Name(val) {
    this.name = val;
  }
}
